package com.lxy.pojo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;

/**
 * 请不要模仿我
 *
 * @author lxy
 * @date 2022/9/29 17:05
 * com.lxy.login.pojo.
 */
@Data
public class User {
    private int id;
    @JsonProperty("name")
    private String username;
    private String phone;
    private String password;
    private String address;
    private Date birthday;
    public User() {
    }
    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", address='" + address + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}